import request from '../utils/request'

export function saveBug(data) {
    return request({
        url: '/bsolver-server/bugrecord/save',
        method: 'post',
        data
    })
}


export function pageList(data) {
    return request({
        url: '/bsolver-server/bugrecord/pageList',
        method: 'get',
        params: data
    })
}

export function  fullTextRetrieval(data) {
    return request({
        url: '/bsolver-server/bugrecord/fullTextRetrieval',
        method: 'get',
        params: data
    })
}


export function userCenterPageList(data) {
    return request({
        url: '/bsolver-server/bugrecord/userCenterPageList',
        method: 'get',
        params: data
    })
}

export function getUserAchievement(data) {
    return request({
        url: '/bsolver-server/bugrecord/getUserAchievement',
        method: 'get',
        params: data
    })
}

